package com.pine.common.beans.pineframework.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 系统审批历史表新增请求体
 * </p>
 *
 * @author pine manage
 * @since 2024-10-31
 */
@Data
@Schema(title = "SysApprovalHistorySaveRequest", description = "系统审批历史表新增请求体")
public class SysApprovalHistorySaveRequest implements Serializable {
    @Serial
    private static final long serialVersionUID = -7815557971044044744L;

    /**
     * 审批ID
     */
    @NotBlank(message = "审批ID不能为空")
    @Schema(title = "approvalId", description = "审批ID")
    private String approvalId;

    /**
     * 申请名称
     */
    @NotBlank(message = "申请名称不能为空")
    @Schema(title = "name", description = "申请名称")
    private String name;

    /**
     * 申请状态:0=待提交,1=待审批,2=已审批,3=已拒绝,4=已完成,5=已取消
     */
    @NotNull(message = "申请状态不能为空")
    @Schema(title = "status", description = "申请状态:0=待提交,1=待审批,2=已审批,3=已拒绝,4=已完成,5=已取消")
    private Integer status;

    /**
     * 备注
     */
    @Schema(title = "remark", description = "备注")
    private String remark;
}
